<% form_tag :action => 'config' do %>
    <p><label for="user_login"><b>你好 <%= current_user_name %>, 请设置以下信息:</b></label></p>

    <p><label for="user_name">姓名：</label>
    <%= text_field 'user', 'name', :size => '20' %></p>
    
    <p><label for="user_gender">性别：</label>
    <%= text_field 'user', 'gender', :size => '20' %></p>
    
    <p><label for="user_city">城市：</label>
    <%= text_field 'profile', 'city', :size => '20' %></p>
    
    <p><label for="user_blog">博客：</label>
    <%= text_field 'profile', 'blog', :size => '50' %></p>
    
    <p><label for="user_introduce">简介：</label>
    <%= text_area 'profile', 'introduce', :cols => '40', :rows => '5' %></p>
    
    <p><label for="submit"></label>
    <%= submit_tag '更新我的设置', :class => 'btn_add' %></p>
<% end %>
